package com.bicon.botu.finance.wallet.common;

/**
 * 商城公共常量
 *
 * @author tandk
 * @date 2018/5/10 18:05
 */
public interface FinanceConstants {

    //*****************  明细类型 ******************
    String WALLET_SUBJECTS_INCOME = "0";  //收入
    String WALLET_SUBJECTS_PAY = "1";     //支出
    String WALLET_SUBJECTS_RECAHRGE = "2";//充值
    String WALLET_SUBJECTS_WITHDRAW = "3";//提现
    String WALLET_SUBJECTS_REFUND = "4";//退款

    //*****************  明细子类型 ******************
    String WALLET_CHILD_SUBJECTS_TRANSFER = "0";  //转账
    String WALLET_CHILD_SUBJECTS_TASK = "1";  //任务
    String WALLET_CHILD_SUBJECTS_RECAHRGE = "2";  //充值
    String WALLET_CHILD_SUBJECTS_WITHDRAW = "3";//提现
    String WALLET_CHILD_SUBJECTS_REDPACKET_4 = "4";//拼手气
    String WALLET_CHILD_SUBJECTS_REDPACKET_5 = "5";//群普通
    String WALLET_CHILD_SUBJECTS_REDPACKET_6 = "6";//个人对个人
    String WALLET_CHILD_SUBJECTS_APPRECIATE = "7";//赞赏
    String WALLET_CHILD_SUBJECTS_REFUND = "8";//赞赏

    //*****************  交易类型 ******************
    String WALLET_FINANCIAL_TYPE_BALANCE = "0";  //余额
    String WALLET_FINANCIAL_TYPE_ALIPAY = "1";     //支付宝
    String WALLET_FINANCIAL_TYPE_WECHAT = "2";//微信
    String WALLET_FINANCIAL_TYPE_UNION = "3";//银联
    String WALLET_FINANCIAL_TYPE_TASK = "4";//任务获取

    //*****************  交易状态类型 ******************
    String WALLET_STATE_ING = "0";  //交易中
    String WALLET_STATE_SUCCESS = "1";     //交易成功
    /**
     * 交易失败
     */
    String WALLET_STATE_FAIL = "2";
    String WALLET_STATE_CANCEL = "3";//交易取消
    String WALLET_STATE_RECEIVABLE = "4";//待收款


    //*****************  金融账户类型 ******************
    String FINANCIAL_TYPE_ALIPAY = "1";//支付宝
    String FINANCIAL_TYPE_WECHAT = "2";//微信
    String FINANCIAL_TYPE_BANK = "3";//银行卡


    /**
     * 余额支付
     */
    String PAYMENT_YE = "YE";
    /**
     * 支付宝支付
     */
    String PAYMENT_ZFB = "ZFB";
    /**
     * 微信支付
     */
    String PAYMENT_WX = "WX";


}
